<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="title" content="">
<meta name="description" content="">
<meta name="keywords" content="">
<title><?php echo soft_name?></title>

<!-- Le styles -->
<link href="css/bootstrap-combined.min.css" rel="stylesheet">
<link href="css/layoutit.css" rel="stylesheet">

<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
		<script src="js/html5shiv.js"></script>
	<![endif]-->

	<!-- Fav and touch icons -->
	<link rel="shortcut icon" href="img/favicon.png">
	
	<script type="text/javascript" src="js/jquery-2.0.0.min.js"></script>
	<!--[if lt IE 9]>
	<script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
	<![endif]-->
	<script type="text/javascript" src="js/bootstrap.min.js"></script>
	<script type="text/javascript" src="js/jquery-ui.js"></script>
	<script type="text/javascript" src="js/jquery.ui.touch-punch.min.js"></script>
	<script type="text/javascript" src="js/jquery.htmlClean.js"></script>
	<script type="text/javascript" src="js/scripts.js"></script>
	<script type="text/javascript" src="js/action.js"></script>
</head>


<div class="container-fluid">
	<div class="row-fluid">
		<div class="span12">
			<div class="navbar navbar-inverse">
				<div class="navbar-inner">
					<div class="container-fluid">
						<a class="btn btn-navbar" data-target=".navbar-responsive-collapse" data-toggle="collapse"></a> <a class="brand" href="?m=index"><?php echo soft_name?></a>
						<div class="nav-collapse collapse navbar-responsive-collapse">
							<ul class="nav">
								<li class="active">
									<a href="?m=index">概况</a>
								</li>
								<li>
									<a href="?m=scan">WEB扫描</a>
								</li>
								<!--
								<li>
									<a href="#">端口扫描</a>
								</li>
								-->
								<li>
									<a href="?m=point">节点管理</a>
								</li>
								<li>
									<a href="?m=set">系统管理</a>
								</li>
							</ul>
							<ul class="nav pull-right">
								<li class="active">
									<a class="dropdown-toggle" data-toggle="dropdown" href="#"><?php echo $_SESSION['username'];?></a>
									<ul class="dropdown-menu">
									<!--
										<li>
											<a href="#">下拉导航1</a>
										</li>
										-->
										<li>
											<a id="modal-978241" href="#cpasswd-<?php echo $_SESSION['username']?>" data-toggle="modal">修改密码</a>
										</li>
										<li>
											<a href="?m=logout">退出</a>
										</li>
										<!--
										<li class="divider">
										</li>
										<li>
											<a href="#">链接3</a>
										</li>
										-->
									</ul>
								</li>
							</ul>
						</div>
						
					</div>
				</div>
				
			</div>
			<div class="tabbable" id="tabs-25550">
				<ul class="nav nav-tabs">
					<li class="active">
						<a href="#panel-941070" data-toggle="tab">功能选项</a>
					</li>
					<li>
						<a href="#panel-910581" data-toggle="tab">筛选</a>
					</li>
				</ul>
				<div class="tab-content">
					<div class="tab-pane active" id="panel-941070">
					<!--
						 <button class="btn btn-primary" type="button">启动定时任务</button> <button class="btn btn-primary" type="button">手动刷新</button>
						 -->
						<table class="table">
							<thead>
								<tr>
									<th>
										Id
									</th>
									<th>
										URL
									</th>
									<th>
										User
									</th>
									<th>
										Status
									</th>
									<th>
										节点IP
									</th>
									<th>
										High
									</th>
									<th>
										Middle
									</th>
									<th>
										Low
									</th>
									<th>
										Banner
									</th>
									<th>
										OS
									</th>
									<th>
										Finishtime
									</th>
									<th>
										操作
									</th>
								</tr>
							</thead>
							<tbody>
								<?php echo $html_str;?>
							</tbody>
						</table>
					</div>
					<div class="tab-pane" id="panel-910581">
						<p>
							第二部分内容.
						</p>
					</div>
					
					<div id="cpasswd-<?php echo $_SESSION['username']?>" class="modal hide fade" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" >
						<div class="modal-header">
							<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
							<h3 id="myModalLabel">
								<?php echo $_SESSION['username']?>的密码修改
							</h3>
						</div>
						<div class="modal-body">
							<fieldset>
								<label>旧 密 码</label><input type="text" value="" name="oldpasswd" id="oldpasswd"/> 
								<label>新 密 码</label><input type="text" value="" name="newpasswd" id="newpasswd"/> 
								<label>重新输入</label><input type="text" value="" name="repasswd" id="repasswd"/> 
							</fieldset>
						</div>
						<div class="modal-footer">
							<button class="btn" data-dismiss="modal" aria-hidden="true">关闭</button> <button class="btn btn-primary" onclick="cpasswd()">保存设置</button>
						</div>
					</div>
					
				</div>	
			</div>
		</div>
	</div>
</div>